package model

import "gorm.io/gorm"

type Context struct {
	gorm.Model
	UserId    int    `gorm:"type:int;not null" json:"user_id"`
	Context   string `gorm:"type:text;not null" json:"context"`
	ArticleId int    `gorm:"type:int;not null;" json:"article_id"`
	FatherId  int    `gorm:"type:int;not null;default:0" json:"father_id"`
	LikeCount int    `gorm:"type:int;not null;" json:"like_count"`
}
